package com.ruoyi.ruoyixingyue.modules.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author lzz
 * @since 2024-02-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("xy_course_type")
@ApiModel(value="CourseType对象", description="")
public class CourseType implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "课程类型id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "课程类型名称")
    private String name;

    @ApiModelProperty(value = "是否删除（0存在 1删除）")
    private Integer status;


}
